/**
 * 时间工具类
 */
export default {
    //时间比较
    compareTime(standard_o_time, eew_receive_time) {

        var s_date = standard_o_time.replace(/-/g, '/');
        var s_timestamp = new Date(s_date).getTime();

        var e_date = eew_receive_time.replace(/-/g, '/');
        var e_timestamp = new Date(e_date).getTime();

        var muils = e_timestamp - s_timestamp;
        var dayt = 1000;

        return (muils / dayt);

    }
}
